---@class BuffEffect2001170:BaseBuffEffect
BuffEffect2001170 = ClientFight.CreateClass("BuffEffect2001170",ClientFight.BaseBuffEffect)
local t = BuffEffect2001170
---@param fight Fight
---@param buff FighterBuff
function t:action(fight, buff, ...)
    local parameters = {...}
    if (#parameters < 1) then
        return IBuffEffect.FAIL;
    end
    local change = parameters[1];
    local buffEffectValue = buff.buffBean.f_BuffEffectValue
    local addHp = Utils.calcRatio(change, buffEffectValue[1]);
    local tag = buffEffectValue[2];
    local fighters = buff.target.fightTeam.fighters
    for k, fighter in pairs( fighters) do
        local continue = false
        if (fighter.summons or fighter:isDie()) then
            continue = true
        end
        if (not fighter.totalSign.signs[tag]) then
            continue = true
        end
        if not continue then
            DamageManager.setFighterHp(fight, fighter, buff.source, nil, DamageResultTypeEnum.HEAL,addHp,fighter.hp +addHp,true,false,true)
        end
        SkillRoleMgr.savePathFile("[" .. fight.frame .. "][EFFECT]Fighter " .. buff.target.fighterId .. " Buff"
      .. buff.modelId .. " 触发联动,给标记拥有者 " ..fighter.fighterId+" 回复血量: " .. addHp);
    end
    return ClientFight.BaseBuffEffect.action(self,fight, buff, parameters);
end

t.New()